The RemoteTester has a Bean Managed Transaction setting so you can
start transaction directly into the TestCase (using javax.transaction.UserTransaction). This is especially interesting
if you rollback changes made by the TestCase at the end.
There is nothing available to do that right now (this is at the first rank on my todo list). So all resources must be available
on server side.
In my current project, what I do, is putting resources under a specific folder (test/..)
and access them through a FileInputStream.
I have developped a maven plugin. We are currently using it on the project I am working on at Finance active (www.financeactive.com).
In order to use it, you should put your tests under a separate folder (I name it rt-test) under src.
The plugin compile all rt-tests. If succeded, the application server must start, the ear is deployed and all tests are played.
If any test fail the build sequence fail.
A site report can also be generated.
I will put it on the site as soon as possible.
Sorry I am a maven fan... I don't create ant plugins anymore ;-) ... In fact, I didn't need it so I didn't do it !
but this may be developped sometime (very easy)... if anyone request it from me !